﻿using VideoSeller.Business.Data.Enums;

namespace VideoSeller.Business.Data
{
	public partial class Posting
	{
		public WithdrawType? WithdrawTypeEnum
		{
			get
			{
				if (!WithdrawType.HasValue)
				{
					return null;
				}

				return (WithdrawType) WithdrawType.Value;
			}
		}

		public FinanceOperation OperationEnum
		{
			get { return (FinanceOperation) Operation; }
		}
	}
}